package com.roncoo.pay.permission.repository;

import java.util.List;

import org.springframework.data.mongodb.repository.MongoRepository;

import com.roncoo.pay.permission.entity.PmsMenu;

public interface PmsMenuRepository extends MongoRepository<PmsMenu, String> {

	List<PmsMenu> findByParentId(String parentId);

	List<PmsMenu> findByNameAndIsLeaf(String menuName, String isLeaf);
}
